package com.joysuch.wwyt.dzhapi.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author JamesZY
 * @since 2021-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_risk_district")
@ApiModel(value="RiskDistrict对象", description="")
public class ApiRiskDistrictBean extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编号")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "区域坐标集")
    @TableField("COORDINATES")
    private String coordinates;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "最近一次区域评估ID")
    private Long lastEvaluationId;

    @ApiModelProperty(value = "最近一次区域年份")
    private Integer lastEvaluationYear;

    @ApiModelProperty(value = "评估状态")
    private Integer evaluationState;

    @ApiModelProperty(value = "风险等级")
    private Integer riskLevel;

    @ApiModelProperty(value = "雪花id")
    private Long uniqueId;

    @ApiModelProperty(value = "44不显示")
    private Integer state;

    @ApiModelProperty(value = "风险点库id集合")
    private String pointLibraryIdJson;

    @ApiModelProperty(value = "区域风险等级")
    private Integer districtRiskLevel;

    @ApiModelProperty(value = "风险点列表等级")
    private Integer pointsLevel;

    @ApiModelProperty(value = "校正等级")
    private Integer ruleLevel;

    @ApiModelProperty(value = "下一次评估时间")
    private LocalDateTime nextEvaluationDate;

    @ApiModelProperty(value = "责任部门")
    private Integer responsibleDept;

    @ApiModelProperty(value = "类型")
    private Long type;

    @ApiModelProperty(value = "区域实时风险等级")
    private Integer realTimeRiskLevel;

    @ApiModelProperty(value = "区域固有风险评价等级")
    private Integer stableRiskLevel;

    @ApiModelProperty(value = "责任人")
    private String responsibleUser;


}
